// Triangle.h: interface for the CTriangle class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TRIANGLE_H__FCC65A90_AFC7_490C_88B5_2F8F11178EBE__INCLUDED_)
#define AFX_TRIANGLE_H__FCC65A90_AFC7_490C_88B5_2F8F11178EBE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Shape.h"

class CTriangle : public CShape  
{
public:
	CTriangle();
	CTriangle(CPoint StartPoint,CPoint EndPoint);
	virtual ~CTriangle();
	void ReSetCircum( );
	void ReSetArea( );
	void SetTheShapeGravity( );
	void Zoom(BOOL zoom,UINT x);
	void SetTheShapeInfor(COLORREF clr = RGB(255,255,255),
		UINT width = 1,BOOL IsSolid = FALSE);
	void MoveReset(const CPoint &p);
	void ResetTheShape(const CPoint &p1,const CPoint &p2);

private:
	CPoint m_pt[3];
};

#endif // !defined(AFX_TRIANGLE_H__FCC65A90_AFC7_490C_88B5_2F8F11178EBE__INCLUDED_)
